import { LocalStore } from "@/driver/LocalStore"

const HistoryService = {
    _KEY_HISTORY: 'history.list',
    getHistory(callback) {
        LocalStore.get(this._KEY_HISTORY, callback)
    },
    saveHistory(data) {
        LocalStore.save(this._KEY_HISTORY, data)
    }
}

export default HistoryService